-- CALC_DRAGON_WISH_BUILDING_BONUS
-- 神龙夹层彩蛋奖励

return function(class)
    local bonus = {};

    if type(class) == "number" then
        if class == 178 then
            -- 水晶×200、魂晶×100、奥晶×50
            bonus = {{1, 1103, 200}, {1, 1105, 100}, {1, 1107, 50}};
        elseif class == 179 then
            -- 魔铁×200、暗钢×100、秘银×50
            bonus = {{1, 1104, 100}, {1, 1106, 100}, {1, 1108, 50}};
        elseif class == 180 then
            -- 园丁剪刀
            bonus = {{1, 7157, 1}};
        elseif class == 181 then
            -- 神塔花30
            bonus = {{1, 1312, 30}};
        elseif class == 182 then
            -- 古树之心15
            bonus = {{1, 1313, 15}};
        elseif class == 183 then
            -- 金钱99999、10钻
            bonus = {{2, "money", 99999}, {2, "gem", 10}};
        elseif class == 184 then
            -- 属性提升
            bonus = {{2, "attack", 3}, {2, "magic", 3}, {2, "max_hp", 30}, {2, "max_mp", 30}};
        elseif class == 185 then
            -- 卫生纸，杂志
            bonus = {{1, 7155, 1}, {1, 7156, 1}};
        elseif class == 164 then
            -- 属性提升
            bonus = {{2, "attack", 2}, {2, "magic", 2}, {2, "max_hp", 20}, {2, "max_mp", 20}};
        end
    elseif type(class) == "string" then
        if class == "cost_money" then
            -- 猴子奖励需要扣钱
            local moneyCount = math.min(10, ME.user:queryAttrib("money"));
            bonus = { {2, "money", moneyCount}, };
        end
    end

    return bonus;
end